from django import forms
from . import  models
from common.utils import FormatError

class GradeForm(forms.ModelForm,FormatError):

    class Meta:
        model=models.Grade
        fields='__all__'

class StudentForm(forms.ModelForm,FormatError):

    class Meta:
        model=models.Student
        fields='__all__'